/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.mapper.dsh;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.plian.system.entity.dsh.DshStaffManagement;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 监事会 Mapper 接口
 *
 * @author gangan
 * @since 2019-11-12
 */
public interface DshStaffManagementMapper extends BaseMapper<DshStaffManagement> {

    /**
     * 监事会统计接口
     * @param companyIds
     * @param genderIds
     * @param supervisorPositionIds
     * @param isOutSupervisor
     * @param staffName
     * @return
     */
    List<DshStaffManagement> reportDataPage(@Param("companyIds") List<String> companyIds,
                                    @Param("genderIds") List<String> genderIds,
                                    @Param("supervisorPositionIds") List<String> supervisorPositionIds,
                                    @Param("isOutSupervisor") Integer isOutSupervisor,
                                    @Param("staffName") String staffName,
                                    @Param("jobNameId") String jobNameId,
                                    @Param("educationalIds") List<String> educationalIds,
                                    @Param("technicalPosition") String technicalPosition,
                                    @Param("companyInitiationTimeStart") String companyInitiationTimeStart,
                                    @Param("companyInitiationTimeEnd") String companyInitiationTimeEnd,
                                    @Param("workTimeStart") String workTimeStart,
                                    @Param("workTimeEnd") String workTimeEnd,
                                    @Param("politicCountenanceIds") List<String> politicCountenanceIds,
                                    @Param("isReserveCadre") int isReserveCadre,
                                    @Param("isCorporateTalent") int isCorporateTalent,
                                    @Param("managementCategoryIds") List<String> managementCategoryIds);
}
